package com.edu.exam.enums.examination.paper;

import com.edu.exam.enums.core.BaseEnum;

/**
 * OMR任务类型枚举
 */
public enum OmTaskType implements BaseEnum {
    RECOGNITION("RECOGNITION", "识别"),
    VALIDATION("VALIDATION", "验证"),
    VERIFICATION("VERIFICATION", "核实"),
    CONVERSION("CONVERSION", "转换"),
    PROCESSING("PROCESSING", "处理"),
    PARSING("PARSING", "解析"),
    EXTRACTION("EXTRACTION", "提取"),
    CLASSIFICATION("CLASSIFICATION", "分类"),
    SEGMENTATION("SEGMENTATION", "分割"),
    RESTORATION("RESTORATION", "修复"),
    ENHANCEMENT("ENHANCEMENT", "增强"),
    COMPRESSION("COMPRESSION", "压缩"),
    DECOMPRESSION("DECOMPRESSION", "解压"),
    QUALITY_CHECK("QUALITY_CHECK", "质量检查"),
    FORMAT_CONVERSION("FORMAT_CONVERSION", "格式转换"),
    BATCH_PROCESSING("BATCH_PROCESSING", "批处理"),
    REAL_TIME("REAL_TIME", "实时"),
    MANUAL_REVIEW("MANUAL_REVIEW", "人工审核"),
    AUTO_REVIEW("AUTO_REVIEW", "自动审核"),
    INTEGRATION("INTEGRATION", "集成"),
    MIGRATION("MIGRATION", "迁移"),
    ARCHIVE("ARCHIVE", "归档"),
    BACKUP("BACKUP", "备份"),
    RESTORE("RESTORE", "恢复");

    private final String code;
    private final String description;

    OmTaskType(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
